package web.service;

import web.entity.PageMsg;
import web.entity.SUser;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

public interface IUserService {
    PageMsg<SUser> pageMsg(int limit, int curr);

    String getYzm(ServletRequest req, ServletResponse res);

    SUser loginIn(SUser theUser);

    SUser queryOne(String id);

    int modify(SUser user);

    void add(SUser user);

    SUser deleteFindById(String id);

    void cleanUp(String id);
}
